package com.yuyou.activity;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

import com.yuyou.activity.util.util.SpringUtil;


@EnableTransactionManagement
@SpringBootApplication
@EnableSwagger2
@EnableScheduling
public class ActivityTsApiApplication {

    
    @Bean
    public SpringUtil springUtil(){
    	return new SpringUtil();
    }
	
	public static void main(String[] args) {
		SpringApplication.run(ActivityTsApiApplication.class, args);
	}
	
}
